# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-poormanslogging
_pkgname=poormanslogging
pkgver=1.1
pkgrel=9
pkgdesc='A simple and straightforward library to log stuff into console.'
arch=('any')
url='https://pypi.org/project/poormanslogging/#files'
license=('GPL2')
depends=('python')
makedepends=('python-setuptools' 'python-wheel' 'python-pip')
source=("https://pypi.python.org/packages/25/ec/8b479491b7a4d6228c176018334267fba813c3761b1bfe35fdb17e751e98/$_pkgname-$pkgver.tar.gz")
sha512sums=('7be66e21c96c0c16e813f904b9be370588023a0b94d10b3056eb8588700e379e50d7bae8a6ebc77cb4d15eec8032e1b0044a0236053e64bb43625992f27d2690')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

